const Mock = require("mockjs");
const { Random } = Mock;

module.exports = [
  // 获取用户信息
  {
    path: "/api/user/info",
    method: "get",
    response() {
      return {
        code: 200,
        data: {
          username: Random.title(),
          nickname: Random.cname(),
        },
      };
    },
  },
];
